#!/usr/bin/env bash

docker build -t isp-puppeteer:1.0 .

docker_container=isp-puppeteer
docker_image=isp-puppeteer:1.0
port=3000:3000

volume=/Users/guoyanbo/Downloads/isp-puppeteer:/app

docker rm -f ${docker_container}
docker run -d --restart=always \
            -p ${port} \
            -v $volume \
            --name=${docker_container} \
            ${docker_image}

docker logs -f ${docker_image}
